/**  
 * All rights Reserved, Designed By https://www.cnblogs.com/jiduoduo
 * @Title:  SendRejectionMail.java
 * @Package com.jiduoduo.delegateClass
 * @Description:    
 * @author: jiduoduod
 * @date:   2022年8月14日
 * @version v1.0
 */
package com.jiduoduo.delegateClass;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

public class SendRejectionMail implements JavaDelegate {

	@Override
	public void execute(DelegateExecution execution) {
		System.out.println("发送拒绝邮件:请假天数："+execution.getVariable("nrOfHolidays")+",不批准。");
	}

}
